package management.system.model.factory;

import management.system.model.interfaces.DiscusionDAO;
import management.system.model.interfaces.GrupoDAO;
import management.system.model.interfaces.IdeaDAO;
import management.system.model.interfaces.MenuDAO;
import management.system.model.interfaces.PerfilDAO;
import management.system.model.interfaces.ReunionDAO;
import management.system.model.interfaces.UsuarioDAO;

public abstract class DAOFactory {

	public static final int MYSQL = 1;
	
	public abstract DiscusionDAO getDiscusionDAO();
	public abstract IdeaDAO getIdeaDAO();
	public abstract ReunionDAO getReunionDAO();
	public abstract UsuarioDAO getUsuarioDAO();
	public abstract PerfilDAO getPerfilDAO();
	public abstract MenuDAO getMenuDAO();
	public abstract GrupoDAO getGrupoDAO();
	
	public static DAOFactory getDAOFactoryDAO(int wichFactory){
		switch (wichFactory) {
		case MYSQL:			
			return new MySqlDAOFactory();

		default:
			return null;
		}
	}
}
